import request from '@/utils/request'
const prefix = '/identityService/api/PermissionGrant/'

export function SetPermissions(data) {
  return request({
    url: prefix + 'SetPermissions',
    method: 'post',
    data
  })
}

export function GetPermissions(params) {
  return request({
    url: prefix + 'GetPermissions',
    method: 'get',
    params
  })
}
export function GetAllPermissions() {
  return request({
    url: prefix + 'GetAllPermissions',
    method: 'get',
  })
}

